<?php

use yii\helpers\Html;
use yii\widgets\DetailView;

/* @var $this yii\web\View */
/* @var $model app\models\User */

$this->title = $model->id;
$this->params['breadcrumbs'][] = ['label' => 'Users', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="user-view">

    <h1>实名认证审核</h1>
    <form action="/adminuser/user/auth">
    <table class="table table-striped table-bordered">
        <tr><td>用户ID：</td>
            <td>
                <?= $model->id; ?>
                <input type="hidden" name="userid" value="<?= $model->id; ?>"/>
            </td></tr>
        <tr><td>用户名：</td><td><?= $model->username; ?></td></tr>
        <tr><td>姓名：</td><td><?= $model->identity_name; ?></td></tr>
        <tr><td>身份证号码：</td><td><?= $model->identity_id; ?></td></tr>
        <tr><td>身份证正面：</td><td><img src="<?= $font_server.$model->identity_front; ?>"/></td></tr>
        <tr><td>身份证背面：</td><td><img src="<?= $font_server.$model->identity_back; ?>"/></td></tr>
        <tr><td>操作</td><td><select name="identity_auth" name="identity_auth">
                    <option value="1">待审核</option>
                    <option value="2">已通过</option>
                    <option value="3">未通过</option>
                </select></td></tr>
        <tr><td>操作说明</td><td><input type="text" name="operate_info"/></td></tr>
        
        <tr><td colspan="2"><input class="btn btn-lg" value="提交" type="submit"/></td></tr>
    </table>
    </form>
</div>
